package com.gzcstec.order.dataobject;

import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import java.math.BigDecimal;
import java.util.Date;

@Entity
@Data
public class OrderDetail {

    @Id
    /*订单详情id*/
    private String detailId;

    /*订单id*/
    private String orderId;

    /*商品id*/
    private String productId;

    /*商品名称*/
    private String productName;

    /*商品单价*/
    private BigDecimal productPrice;

    /*购买数量*/
    private Integer productQuantity;

    /*商品图片*/
    private String productIcon;

    /*创建时间*/
    private Date createTime;

    /*更新时间*/
    private Date updateTime;

}
